.class public Lcom/xingbook/ecloud/e/h;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Lcom/xingbook/ecloud/e/c;


# direct methods
.method public constructor <init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V
    .locals 3

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/h;->setBackgroundColor(I)V

    new-instance v0, Lcom/xingbook/ecloud/e/c;

    invoke-direct {v0, p1, p2, p3}, Lcom/xingbook/ecloud/e/c;-><init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V

    iput-object v0, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/e/c;->getRealWidth()I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/e/c;->getRealHeight()I

    move-result v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xe

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    invoke-virtual {v1, v0}, Lcom/xingbook/ecloud/e/c;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/h;->addView(Landroid/view/View;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/xingbook/ecloud/b/b;Z)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/c;->a(Lcom/xingbook/ecloud/b/b;Z)V

    return-void
.end method

.method public getBookView()Lcom/xingbook/ecloud/e/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/h;->a:Lcom/xingbook/ecloud/e/c;

    return-object v0
.end method
